//package com.yiwei.zhh.impl;
//
//import android.content.Context;
//
//import com.yiwei.zhh.constant.Const;
//import com.yiwei.zhh.http.CallBackListener;
//import com.yiwei.zhh.http.InterfaceServer;
//import com.yiwei.zhh.interfaces.ContactUsInfo;
//import com.yiwei.zhh.http.InfoCallBack;
//import com.yiwei.zhh.http.ResponseListener;
//import com.yiwei.zhh.model.ContactUsModel;
//import com.yiwei.zhh.model.RequestModel;
//import com.yiwei.zhh.model.ResponseModel;
//import com.yiwei.zhh.util.JsonUtil;
//
//import java.util.HashMap;
//import java.util.Map;
//
///**
// * 联系我们数据
// * Created by Master.Dong on 2016/4/13.
// */
//public class ContactUsInfoImpl implements ContactUsInfo {
//
//    @Override
//    public void getContactUsInfo(final Context mContext, final InfoCallBack callBack) {
//        Map<String, Object> mapData = new HashMap<String, Object>();
//        RequestModel model = new RequestModel(mapData);
//
//        InterfaceServer.getInstance(mContext.getApplicationContext()).requestInterface(Const.CONTACT_US, Const.RequestMethod.GET, model,Const.DEFAULT_TIMEOUT, new CallBackListener<ContactUsModel>(ContactUsModel.class,callBack));
////                new ResponseListener() {
////            @Override
////            public void onStartInMainThread(Object result) {
////                callBack.onFailure(result.toString());
////            }
////
////            @Override
////            public void onFinishInMainThread(Object result) {
////            }
////
////            @Override
////            public Object onSuccessInRequestThread(int statusCode, String content) {
////                try {
////                    return JsonUtil.<ContactUsModel>fromJson(content, ContactUsModel.class);
////                } catch (Exception e) {
////                    return null;
////                }
////            }
////
////            @Override
////            public void onSuccessInMainThread(int statusCode, String content, Object result) {
////                try {
////                    ContactUsModel model = (ContactUsModel) result;
////
////                    callBack.onSuccess(model);
////                    //返回数据接口
////                } catch (Exception e) {
////                    e.printStackTrace();
////                }
////            }
////        });
//    }
//
//}
